<template>
  <div class="pay-box">
     <header class="my-header">
      <comp-header>
        <template v-slot:ctitle><span class="fa fa-angle-left" @click="$router.go(-1)"></span>&nbsp;&nbsp;&nbsp;付款码</template>
        <template v-slot:cicon>
          <span class="fa fa-ellipsis-h"></span> 
        </template>
      </comp-header> 
     </header>
    <div class="pay">
      <div class="pay-type">
        <select>
          <option value="yuer">余额</option>
          <option value="guangfa">广发银行</option>
          <option value="nongye">农业银行</option>
          <option value="jianshe">建设银行</option>
          <option value="addcard">添加银行卡...</option>
        </select>
      </div>
      <div class="tiaoma">
          <img src="../assets/tiaoxingma.jpg" alt="">
      </div>
      <div class="erweima">
          <img src="../assets/erweima.jpg" alt="">
      </div>
    </div>
  </div>
</template>

<script>
import compHeader from "@/components/comp-header.vue";
export default {
  name: "Payma",
  components: {
    compHeader: compHeader,
  }
};
</script>

<style lang="scss" scoped>
.pay-box {
  width: 100%;
  height: 100vh;
  background-color: #3b2c86;
  .pay {
    width: 335px;
    height: 400px;
    margin: 60px auto;
    background-color: #fff;
    border-radius: 20px;
    .pay-type {
      width: 280px;
      margin: 0 auto;
      select {
        width: 280px;
        height: 30px;
        text-indent: 10px;
        outline: none;
        border-radius: 5px;
      }
    }
    .tiaoma {
      width: 255px;
      height: 60px;
      margin: 20px auto;
      img{
          height: 100%;
      }
    }
    .erweima {
      width: 220px;
      height: 220px;
      margin: 20px auto;
      img{
          width: 100%;
      }
    }
  }
}
</style>